package com.ruoyi.linkage.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 联动事件特情记录对象 linkage_event_special_record
 * 
 * @author pengjie
 * @date 2023-12-20
 */
public class LinkageEventSpecialRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 设备名称（测点） */
    @Excel(name = "设备名称", readConverterExp = "测=点")
    private String linkageDeviceName;

    /** 测点位置ID */
    @Excel(name = "测点位置ID")
    private String linkagePlaceId;

    /** 测点位置 */
    @Excel(name = "测点位置")
    private String linkagePlace;

    /** 报警时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报警时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date linkageAlarmDate;

    /** 检测值 */
    @Excel(name = "检测值")
    private String linkageValue;

    /** 报警级别 */
    @Excel(name = "报警级别")
    private String linkageAlarmLevel;

    /** 特殊时间描述 */
    @Excel(name = "特殊时间描述")
    private String specialDesc;

    /** 是否报警，默认否 */
    @Excel(name = "是否报警，默认否")
    private String isAlarm;

    /** 分级结果 */
    @Excel(name = "分级结果")
    private String grade;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createByName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updateByName;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateAt;

    /** 版本 */
    @Excel(name = "版本")
    private String version;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 扩展字段1 */
    @Excel(name = "扩展字段1")
    private String extra1;

    /** 扩展字段2 */
    @Excel(name = "扩展字段2")
    private String extra2;

    /** 扩展字段3 */
    @Excel(name = "扩展字段3")
    private String extra3;

    /** 测点ID */
    @Excel(name = "测点ID")
    private String sightBookId;

    /** 测点名称 */
    @Excel(name = "测点名称")
    private String sightBookName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLinkageDeviceName(String linkageDeviceName) 
    {
        this.linkageDeviceName = linkageDeviceName;
    }

    public String getLinkageDeviceName() 
    {
        return linkageDeviceName;
    }
    public void setLinkagePlaceId(String linkagePlaceId) 
    {
        this.linkagePlaceId = linkagePlaceId;
    }

    public String getLinkagePlaceId() 
    {
        return linkagePlaceId;
    }
    public void setLinkagePlace(String linkagePlace) 
    {
        this.linkagePlace = linkagePlace;
    }

    public String getLinkagePlace() 
    {
        return linkagePlace;
    }
    public void setLinkageAlarmDate(Date linkageAlarmDate) 
    {
        this.linkageAlarmDate = linkageAlarmDate;
    }

    public Date getLinkageAlarmDate() 
    {
        return linkageAlarmDate;
    }
    public void setLinkageValue(String linkageValue) 
    {
        this.linkageValue = linkageValue;
    }

    public String getLinkageValue() 
    {
        return linkageValue;
    }
    public void setLinkageAlarmLevel(String linkageAlarmLevel) 
    {
        this.linkageAlarmLevel = linkageAlarmLevel;
    }

    public String getLinkageAlarmLevel() 
    {
        return linkageAlarmLevel;
    }
    public void setSpecialDesc(String specialDesc) 
    {
        this.specialDesc = specialDesc;
    }

    public String getSpecialDesc() 
    {
        return specialDesc;
    }
    public void setIsAlarm(String isAlarm) 
    {
        this.isAlarm = isAlarm;
    }

    public String getIsAlarm() 
    {
        return isAlarm;
    }
    public void setGrade(String grade) 
    {
        this.grade = grade;
    }

    public String getGrade() 
    {
        return grade;
    }
    public void setCreateByName(String createByName) 
    {
        this.createByName = createByName;
    }

    public String getCreateByName() 
    {
        return createByName;
    }
    public void setCreateAt(Date createAt) 
    {
        this.createAt = createAt;
    }

    public Date getCreateAt() 
    {
        return createAt;
    }
    public void setUpdateByName(String updateByName) 
    {
        this.updateByName = updateByName;
    }

    public String getUpdateByName() 
    {
        return updateByName;
    }
    public void setUpdateAt(Date updateAt) 
    {
        this.updateAt = updateAt;
    }

    public Date getUpdateAt() 
    {
        return updateAt;
    }
    public void setVersion(String version) 
    {
        this.version = version;
    }

    public String getVersion() 
    {
        return version;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setExtra1(String extra1) 
    {
        this.extra1 = extra1;
    }

    public String getExtra1() 
    {
        return extra1;
    }
    public void setExtra2(String extra2) 
    {
        this.extra2 = extra2;
    }

    public String getExtra2() 
    {
        return extra2;
    }
    public void setExtra3(String extra3) 
    {
        this.extra3 = extra3;
    }

    public String getExtra3() 
    {
        return extra3;
    }
    public void setSightBookId(String sightBookId) 
    {
        this.sightBookId = sightBookId;
    }

    public String getSightBookId() 
    {
        return sightBookId;
    }
    public void setSightBookName(String sightBookName) 
    {
        this.sightBookName = sightBookName;
    }

    public String getSightBookName() 
    {
        return sightBookName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("linkageDeviceName", getLinkageDeviceName())
            .append("linkagePlaceId", getLinkagePlaceId())
            .append("linkagePlace", getLinkagePlace())
            .append("linkageAlarmDate", getLinkageAlarmDate())
            .append("linkageValue", getLinkageValue())
            .append("linkageAlarmLevel", getLinkageAlarmLevel())
            .append("specialDesc", getSpecialDesc())
            .append("isAlarm", getIsAlarm())
            .append("grade", getGrade())
            .append("createBy", getCreateBy())
            .append("createByName", getCreateByName())
            .append("createAt", getCreateAt())
            .append("updateBy", getUpdateBy())
            .append("updateByName", getUpdateByName())
            .append("updateAt", getUpdateAt())
            .append("remark", getRemark())
            .append("version", getVersion())
            .append("status", getStatus())
            .append("extra1", getExtra1())
            .append("extra2", getExtra2())
            .append("extra3", getExtra3())
            .append("sightBookId", getSightBookId())
            .append("sightBookName", getSightBookName())
            .toString();
    }
}
